package com.woniuxy.service;

import com.woniuxy.entity.Product;
import com.woniuxy.entity.utils.ResponseEntity;

import java.util.List;

/**
 * @Author: 马宇航
 * @Description: service接口
 * @DateTime: 22/06/21/0021 下午 2:59
 * @Component: 成都蜗牛学苑
 **/
public interface ProductService {
    Product addOne(Product product);
    ResponseEntity findOneById(Integer id);

    List<Product> search1(Integer minimumInventory, Integer maxInventory);
}
